package com.sinothk.fc.bill.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: 招财猫账单表
 * @Author: Liangyt
 * @Date: 2022-09-12
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "BillReq对象", description = "招财猫账单表")
public class BillAddReq implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 账单图标
     */
    @Excel(name = "账单图标", width = 15)
    @ApiModelProperty(value = "账单图标")
    private String billLogo;
    /**
     * 账单名称
     */
    @Excel(name = "账单名称", width = 15)
    @ApiModelProperty(value = "账单名称")
    @NotBlank(message = "账单名称不能为空")
    private String billName;
    /**
     * 账单类别
     */
    @Excel(name = "账单类别", width = 15)
    @ApiModelProperty(value = "账单类别")
    @NotBlank(message = "账单类别不能为空")
    private String billType;
    /**
     * 账单：0收入1支出
     */
    @Excel(name = "账单：0收入1支出", width = 15)
    @ApiModelProperty(value = "账单：0收入1支出")
    @NotBlank(message = "收支类别不能为空")
    private Integer billState;
    /**
     * 账单值
     */
    @Excel(name = "账单值", width = 15)
    @ApiModelProperty(value = "账单值")
    @NotBlank(message = "账单值不能为空")
    private Long billValue;

    /**门店ID*/
    @Excel(name = "门店ID", width = 15)
    @ApiModelProperty(value = "门店ID")
    private String storeId;

    /**订单ID*/
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;

    /**
     * 来对象
     */
    private String billUserId;
    private String billUserName;
    private String billUserAvatar;
    private String billUserPhone;

    /**
     * 业务种类：物料进货，商品卖出，商品进货等
     */
    @ApiModelProperty(value = "业务种类：物料进货，商品卖出，商品进货等")
    private String bizType;
    /**账单状态:0待付款1已付款2已取消*/
    @Excel(name = "账单状态:0待付款1已付款2已取消", width = 15)
    @ApiModelProperty(value = "账单状态:0待付款1已付款2已取消")
    private Integer state;
}
